.class public Lcom/waiqin365/lightapp/sales/b/a/i;
.super Lcom/waiqin365/lightapp/sales/b/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:I

.field public e:Ljava/lang/String;

.field public f:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x66

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/sales/b/d;-><init>(I)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->e:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->f:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 12

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->b:Ljava/lang/String;

    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "limit"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "limit"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->d:I

    :cond_0
    const-string/jumbo v1, "approvCount"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "approvCount"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->e:Ljava/lang/String;

    :cond_1
    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2d

    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    if-eqz v3, :cond_2d

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v2, v0, :cond_2d

    invoke-virtual {v3, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    new-instance v5, Lcom/waiqin365/lightapp/sales/c/a;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/sales/c/a;-><init>()V

    const-string/jumbo v0, "id"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string/jumbo v0, "id"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->a:Ljava/lang/String;

    const-string/jumbo v0, "sodNo"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "sodNo"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->c:Ljava/lang/String;

    const-string/jumbo v0, "submitDate"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    const-string/jumbo v0, "submitDate"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->d:Ljava/lang/String;

    const-string/jumbo v0, "submitTime"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    const-string/jumbo v0, "submitTime"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_4
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->g:Ljava/lang/String;

    const-string/jumbo v0, "empId"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string/jumbo v0, "empId"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_5
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->e:Ljava/lang/String;

    const-string/jumbo v0, "empName"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_a

    const-string/jumbo v0, "empName"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_6
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->f:Ljava/lang/String;

    const-string/jumbo v0, "cmId"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_b

    const-string/jumbo v0, "cmId"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_7
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->h:Ljava/lang/String;

    const-string/jumbo v0, "cmName"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_c

    const-string/jumbo v0, "cmName"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_8
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->i:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    :try_start_1
    const-string/jumbo v0, "amount"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_d

    const-string/jumbo v0, "amount"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    :goto_9
    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->j:Ljava/lang/Double;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :goto_a
    :try_start_2
    const-string/jumbo v0, "locationC"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_e

    const-string/jumbo v0, "locationC"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_b
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->k:Ljava/lang/String;

    const-string/jumbo v0, "locationA"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_f

    const-string/jumbo v0, "locationA"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_c
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->l:Ljava/lang/String;

    const-string/jumbo v0, "pictures"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_10

    const-string/jumbo v0, "pictures"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_d
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->m:Ljava/lang/String;

    const-string/jumbo v0, "orderStatus"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_11

    const-string/jumbo v0, "orderStatus"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_e
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->n:Ljava/lang/String;

    const-string/jumbo v0, "remarks"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_12

    const-string/jumbo v0, "remarks"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_f
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->s:Ljava/lang/String;

    const-string/jumbo v0, "confirmEmpId"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_13

    const-string/jumbo v0, "confirmEmpId"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_10
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->p:Ljava/lang/String;

    const-string/jumbo v0, "confirmEmpName"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_14

    const-string/jumbo v0, "confirmEmpName"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_11
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->q:Ljava/lang/String;

    const-string/jumbo v0, "confirmTime"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_15

    const-string/jumbo v0, "confirmTime"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_12
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->o:Ljava/lang/String;

    const-string/jumbo v0, "cancelReason"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_16

    const-string/jumbo v0, "cancelReason"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_13
    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->r:Ljava/lang/String;

    const-string/jumbo v0, "products"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2c

    iget-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->u:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    const-string/jumbo v0, "products"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v4

    if-eqz v4, :cond_2c

    const/4 v0, 0x0

    move v1, v0

    :goto_14
    invoke-virtual {v4}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v1, v0, :cond_2c

    invoke-virtual {v4, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v6

    new-instance v7, Lcom/waiqin365/lightapp/product/d/d;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/product/d/d;-><init>()V

    const-string/jumbo v0, "id"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_17

    const-string/jumbo v0, ""

    :goto_15
    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/String;)V

    const-string/jumbo v0, "name"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_18

    const-string/jumbo v0, ""

    :goto_16
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    const-string/jumbo v0, "spec"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_19

    const-string/jumbo v0, ""

    :goto_17
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->b:Ljava/lang/String;

    const-string/jumbo v0, "nameSpec"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1a

    const-string/jumbo v0, ""

    :goto_18
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->c:Ljava/lang/String;

    const-string/jumbo v0, "price"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1b

    const-string/jumbo v0, ""

    :goto_19
    const-wide/16 v8, 0x0

    invoke-static {v0, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v8

    invoke-static {v8, v9}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/Double;)V

    const-string/jumbo v0, "qty"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1c

    const-string/jumbo v0, ""

    :goto_1a
    const-wide/16 v8, 0x0

    invoke-static {v0, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v8

    invoke-static {v8, v9}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/product/d/d;->b(Ljava/lang/Double;)V

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v0, "amount"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1d

    const-string/jumbo v0, ""

    :goto_1b
    const-wide/16 v10, 0x0

    invoke-static {v0, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v10

    invoke-virtual {v8, v10, v11}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v8, ""

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->g:Ljava/lang/String;

    const-string/jumbo v0, "productRemarks"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1e

    const-string/jumbo v0, ""

    :goto_1c
    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/product/d/d;->d(Ljava/lang/String;)V

    const-string/jumbo v0, "inputUnit"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1f

    const-string/jumbo v0, ""

    :goto_1d
    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/product/d/d;->e(Ljava/lang/String;)V

    const-string/jumbo v0, "inputUnitName"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_20

    const-string/jumbo v0, ""

    :goto_1e
    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/product/d/d;->f(Ljava/lang/String;)V

    const-string/jumbo v0, "propValues"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_21

    const-string/jumbo v0, ""

    :goto_1f
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->d:Ljava/lang/String;

    const-string/jumbo v0, "brand"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_22

    const-string/jumbo v0, "brand"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_20
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    const-string/jumbo v0, "tagNew"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_23

    const-string/jumbo v0, "tagNew"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_23

    const/4 v0, 0x1

    :goto_21
    iput-boolean v0, v7, Lcom/waiqin365/lightapp/product/d/d;->p:Z

    const-string/jumbo v0, "tagHot"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_24

    const-string/jumbo v0, "tagHot"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_24

    const/4 v0, 0x1

    :goto_22
    iput-boolean v0, v7, Lcom/waiqin365/lightapp/product/d/d;->o:Z

    const-string/jumbo v0, "tagGift"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_25

    const-string/jumbo v0, "tagGift"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_25

    const/4 v0, 0x1

    :goto_23
    iput-boolean v0, v7, Lcom/waiqin365/lightapp/product/d/d;->q:Z

    const-string/jumbo v0, "tagSale"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_26

    const-string/jumbo v0, "tagSale"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_26

    const/4 v0, 0x1

    :goto_24
    iput-boolean v0, v7, Lcom/waiqin365/lightapp/product/d/d;->r:Z

    const-string/jumbo v0, "code"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_27

    const-string/jumbo v0, "code"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_25
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->h:Ljava/lang/String;

    const-string/jumbo v0, "barcode"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_28

    const-string/jumbo v0, "barcode"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_26
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    const-string/jumbo v0, "status"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_29

    const-string/jumbo v0, "status"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_27
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->k:Ljava/lang/String;

    const-string/jumbo v0, "numWithUnit"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2a

    const-string/jumbo v0, "numWithUnit"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_28
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->f:Ljava/lang/String;

    const-string/jumbo v0, "saleStatus"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2b

    const-string/jumbo v0, "saleStatus"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_29
    iput-object v0, v7, Lcom/waiqin365/lightapp/product/d/d;->l:Ljava/lang/String;

    iget-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->u:Ljava/util/List;

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_14

    :cond_2
    const/4 v0, 0x0

    :goto_2a
    return v0

    :cond_3
    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->c:Ljava/lang/String;

    :cond_4
    const/4 v0, 0x1

    goto :goto_2a

    :cond_5
    const-string/jumbo v0, ""

    goto/16 :goto_1

    :cond_6
    const-string/jumbo v0, ""

    goto/16 :goto_2

    :cond_7
    const-string/jumbo v0, ""

    goto/16 :goto_3

    :cond_8
    const-string/jumbo v0, ""

    goto/16 :goto_4

    :cond_9
    const-string/jumbo v0, ""

    goto/16 :goto_5

    :cond_a
    const-string/jumbo v0, ""

    goto/16 :goto_6

    :cond_b
    const-string/jumbo v0, ""

    goto/16 :goto_7

    :cond_c
    const-string/jumbo v0, ""

    goto/16 :goto_8

    :cond_d
    const-wide/16 v0, 0x0

    goto/16 :goto_9

    :catch_0
    move-exception v0

    const-wide/16 v0, 0x0

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    iput-object v0, v5, Lcom/waiqin365/lightapp/sales/c/a;->j:Ljava/lang/Double;

    goto/16 :goto_a

    :catch_1
    move-exception v0

    const/4 v0, 0x0

    goto :goto_2a

    :cond_e
    const-string/jumbo v0, ""

    goto/16 :goto_b

    :cond_f
    const-string/jumbo v0, ""

    goto/16 :goto_c

    :cond_10
    const-string/jumbo v0, ""

    goto/16 :goto_d

    :cond_11
    const-string/jumbo v0, ""

    goto/16 :goto_e

    :cond_12
    const-string/jumbo v0, ""

    goto/16 :goto_f

    :cond_13
    const-string/jumbo v0, ""

    goto/16 :goto_10

    :cond_14
    const-string/jumbo v0, ""

    goto/16 :goto_11

    :cond_15
    const-string/jumbo v0, ""

    goto/16 :goto_12

    :cond_16
    const-string/jumbo v0, ""

    goto/16 :goto_13

    :cond_17
    const-string/jumbo v0, "id"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_15

    :cond_18
    const-string/jumbo v0, "name"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_16

    :cond_19
    const-string/jumbo v0, "spec"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_17

    :cond_1a
    const-string/jumbo v0, "nameSpec"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_18

    :cond_1b
    const-string/jumbo v0, "price"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_19

    :cond_1c
    const-string/jumbo v0, "qty"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1a

    :cond_1d
    const-string/jumbo v0, "amount"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1b

    :cond_1e
    const-string/jumbo v0, "productRemarks"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1c

    :cond_1f
    const-string/jumbo v0, "inputUnit"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1d

    :cond_20
    const-string/jumbo v0, "inputUnitName"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1e

    :cond_21
    const-string/jumbo v0, "propValues"

    invoke-virtual {v6, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1f

    :cond_22
    const-string/jumbo v0, ""

    goto/16 :goto_20

    :cond_23
    const/4 v0, 0x0

    goto/16 :goto_21

    :cond_24
    const/4 v0, 0x0

    goto/16 :goto_22

    :cond_25
    const/4 v0, 0x0

    goto/16 :goto_23

    :cond_26
    const/4 v0, 0x0

    goto/16 :goto_24

    :cond_27
    const-string/jumbo v0, ""

    goto/16 :goto_25

    :cond_28
    const-string/jumbo v0, ""

    goto/16 :goto_26

    :cond_29
    const-string/jumbo v0, ""

    goto/16 :goto_27

    :cond_2a
    const-string/jumbo v0, ""

    goto/16 :goto_28

    :cond_2b
    const-string/jumbo v0, ""

    goto/16 :goto_29

    :cond_2c
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/b/a/i;->f:Ljava/util/List;

    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_0

    :cond_2d
    const/4 v0, 0x1

    goto/16 :goto_2a
.end method
